const mongoose = require('./../db');
const Schema = mongoose.Schema;

const user = new Schema({
  userid: { type: String },
  nickname: { type: String },
  tel: { type: String },
  password: { type: String },
  avatar: { type: String }
})

module.exports = mongoose.model('User', user)